
/** This file is part of REMBRANDT - Named Entity Recognition Software
 *  (http://xldb.di.fc.ul.pt/Rembrandt)
 *  Copyright (c) 2008-2009, Nuno Cardoso, University of Lisboa and Linguateca.
 *
 *  REMBRANDT is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  REMBRANDT is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with REMBRANDT. If not, see <http://www.gnu.org/licenses/>.
 */
package renoir.eval.geoclef.pertopic.year2006

import renoir.test.geoclef.pertopic.GeoCLEF_PerTopic_Test
import groovy.util.GroovyTestCase
import org.apache.log4j.Logger
import saskia.bin.Configuration
import renoir.obj.*
import rembrandt.gazetteers.CommonClassifications as SC
/**
 * @author Nuno Cardoso
 *
 */
 class GeoCLEF_EN_2006_026_Test extends GroovyTestCase {
        
    Configuration conf 
    GeoCLEF_PerTopic_Test pertopic
    static Logger log = Logger.getLogger("JUnitTest")

    public GeoCLEF_EN_2006_026_Test() {
		conf = Configuration.newInstance()
		log.info "DBpedia sparql service set to "+conf.get("saskia.dbpedia.url","none")	
		pertopic = new GeoCLEF_PerTopic_Test(conf)
    }
	
    void testTopic() {
		String lang = "en"
		String topic = "label:026 wine regions zones in rivers in Europe"

		RenoirQuery rq = RenoirQueryParser.parse(topic)
		Question question = pertopic.process(rq, lang)
		//dumpQuestion(question)
     
		/** check sentences and question types */
		assert question.sentence*.text == ['wine','regions','zones','in','rivers','in','Europe']
		assert question.questionType == QuestionType.None
		assert question.questionTypeTerms.size() == 0
	
/*  select * from subject where sbj_subject like "%ine][region%";
+--------+--------------------+
| sbj_id | sbj_subject        |
+--------+--------------------+
|   6340 | en:[Wine][regions] | 
+--------+--------------------+
1 row in set (0.05 sec)

*/

	// check detected NEs 
		assert question.nes.size() == 1
		assert question.nes[0].terms*.text == ['Europe']
    
		/// contains gives false. Use find
		assert question.nes[0].classification.find{it == SC.place_human_division}
		
	// check subjects 
		assert question.subject.subjectTerms*.text == ['wine','regions']

	// check conditions 
		assert question.conditions.size() == 1
		assert question.conditions[0].object instanceof Subject
		assert question.conditions[0].object.subjectTerms*.text == ["rivers"]
		assert question.conditions[0].object.geoscopeTerms*.text == ["Europe"]
	
	// SPARQL should resolve instances of the SUBJECT against the condition 
	// QueryGeoscope, using dbpedia-owl:location
	
	// Then, for the lone condition Subject, we resolve it and add it 			
		assert question.expectedAnswerTypes.size() == 1
		assert question.expectedAnswerTypes[0].DBpediaOntologyResources == \
		   question.subject.categoryWikipediaAsDBPediaResource
		assert question.expectedAnswerTypes[0].resolvesTo == ExpectedAnswerType.Type.DBpediaOntologyResource
		
	// check answers 
	//	assert question.answer.find{it == 'http://dbpedia.org/resource/Beaujolais_%28wine%29'}

		println question.leftover_entites
		ReformulatedQuery refq = QueryReformulator2.reformulate(rq, question)                                  
	
		println refq.toString()
		String reformulated_x = """
label:026 contents:"wine regions" contents:zones contents:rivers contents:"Europe" woeid:24865675 woeid:12577865 woeid:20069817 woeid:20069818 woeid:23424742 woeid:23424744 woeid:23424750 woeid:23424757 woeid:23424761 woeid:23424765 woeid:23424771 woeid:23424796 woeid:23424803 woeid:23424805 woeid:23424810 woeid:23424812 woeid:23424816 woeid:23424819 woeid:23424825 woeid:23424829 woeid:23424833 woeid:23424843 woeid:23424844 woeid:23424845 woeid:23424853 woeid:23424874 woeid:23424875 woeid:23424877 woeid:23424879 woeid:23424881 woeid:23424885 woeid:23424890 woeid:23424892 woeid:23424897 woeid:23424909 woeid:23424910 woeid:23424923 woeid:23424925 woeid:23424933 woeid:23424945 woeid:23424947 woeid:23424950 woeid:23424954 woeid:23424957 woeid:23424975 woeid:23424976 woeid:23424986 woeid:26812346 woeid:28289413 entity:Vaud entity:Canton_of_Geneva entity:Ticino_%28wine_region%29 entity:Valais entity:Lavaux entity:Valtellina entity:Swiss_wine entity:Salgesch entity:Salta entity:Caucete_Department entity:San_Mart%C3%ADn%2C_Mendoza entity:Mendoza_Province entity:Cuyo_%28Argentina%29 entity:San_Juan_Province_%28Argentina%29 entity:Catamarca_Province entity:Maip%C3%BA_Department%2C_Mendoza entity:Tupungato_Department entity:Buenos_Aires_wines entity:Mendoza_wine entity:R%C3%ADo_Negro_Province entity:Jujuy_Province entity:La_Rioja_Province_%28Argentina%29 entity:Cafayate entity:M%C3%A9danos%2C_Buenos_Aires entity:San_Mart%C3%ADn_Department%2C_San_Juan entity:Argentina_Wine_Route entity:Domaine_Al_Este entity:Uco_Valley woeid:1586388 woeid:1587741 entity:Cape_Winelands entity:Franschhoek entity:Constantia%2C_Cape_Town entity:Western_Cape_wine entity:KwaZulu-Natal_wine entity:Tulbagh entity:Wine_regions_of_South_Africa entity:Granite_Belt%2C_Queensland entity:Tasmanian_wine entity:Nelson%2C_New_Zealand entity:Northland_Region entity:Waiheke_Island entity:Kurow entity:Te_Kauwhata entity:Kumeu entity:Gisborne_Region entity:Martinborough entity:Cloudy_Bay entity:Central_Otago_wine entity:Hawke%27s_Bay_Region entity:Marlborough_Region entity:Waipara entity:South_Carolina_wine entity:South_Dakota_wine entity:Vermont_wine entity:Alabama_wine entity:Alaskan_wine entity:Nevada_wine entity:Missouri_wine entity:Kansas_wine entity:Delaware_wine entity:Florida_wine entity:Nebraska_wine entity:Utah_wine entity:Montana_wine entity:Wyoming_wine entity:Annapolis_Valley entity:Quebec_wine woeid:2398023 woeid:7153336 woeid:719389 entity:Province_of_Ogliastra woeid:722569 entity:Valpolicella entity:Colli_Euganei woeid:719929 entity:Pavone_Canavese entity:Vernaccia_di_San_Gimignano entity:Vulture_area entity:Calabrian_wine woeid:724262 entity:Roero entity:Piemonte_%28wine%29 entity:Carmignano_DOCG woeid:7153344 woeid:7153349 woeid:7153342 woeid:7153339 woeid:716682 entity:Langhe entity:Arcole entity:Veneto_wine woeid:718634 woeid:7153331 woeid:2454916 entity:Montferrat woeid:718825 entity:Pitigliano entity:Ruch%C3%A9 entity:Colli_Orientali_del_Friuli entity:Collio_Goriziano entity:Friuli-Venezia_Giulia_wine woeid:716033 entity:Lombardia_%28wine%29 entity:Toscana_%28wine%29 entity:Orvieto_DOC entity:Chianti woeid:7153341 woeid:7153343 entity:Scansano woeid:7153338 woeid:7153332 woeid:7153333 woeid:711665 entity:Liguria woeid:7153350 entity:Emilia%E2%80%93Romagna woeid:719632 entity:Trentino-Alto_Adige/S%C3%BCdtirol entity:Friuli_%E2%80%93_Venezia_Giulia woeid:710203 woeid:1 woeid:12577865 woeid:20069817 woeid:20069818 woeid:20070017 woeid:23424736 woeid:23424737 woeid:23424738 woeid:23424739 woeid:23424740 woeid:23424741 woeid:23424742 woeid:23424743 woeid:23424744 woeid:23424745 woeid:23424746 woeid:23424747 woeid:23424748 woeid:23424750 woeid:23424751 woeid:23424753 woeid:23424754 woeid:23424755 woeid:23424756 woeid:23424757 woeid:23424758 woeid:23424759 woeid:23424760 woeid:23424761 woeid:23424762 woeid:23424763 woeid:23424764 woeid:23424765 woeid:23424766 woeid:23424768 woeid:23424770 woeid:23424771 woeid:23424773 woeid:23424774 woeid:23424775 woeid:23424776 woeid:23424777 woeid:23424778 woeid:23424779 woeid:23424780 woeid:23424781 woeid:23424782 woeid:23424783 woeid:23424784 woeid:23424785 woeid:23424786 woeid:23424787 woeid:23424788 woeid:23424791 woeid:23424792 woeid:23424793 woeid:23424794 woeid:23424795 woeid:23424796 woeid:23424797 woeid:23424798 woeid:23424800 woeid:23424801 woeid:23424802 woeid:23424803 woeid:23424804 woeid:23424805 woeid:23424806 woeid:23424807 woeid:23424808 woeid:23424810 woeid:23424811 woeid:23424812 woeid:23424813 woeid:23424814 woeid:23424815 woeid:23424816 woeid:23424817 woeid:23424819 woeid:23424821 woeid:23424822 woeid:23424823 woeid:23424824 woeid:23424825 woeid:23424826 woeid:23424828 woeid:23424829 woeid:23424831 woeid:23424832 woeid:23424833 woeid:23424834 woeid:23424835 woeid:23424836 woeid:23424839 woeid:23424841 woeid:23424843 woeid:23424844 woeid:23424845 woeid:23424846 woeid:23424848 woeid:23424849 woeid:23424851 woeid:23424852 woeid:23424853 woeid:23424854 woeid:23424855 woeid:23424856 woeid:23424858 woeid:23424860 woeid:23424863 woeid:23424864 woeid:23424865 woeid:23424867 woeid:23424868 woeid:23424869 woeid:23424870 woeid:23424871 woeid:23424872 woeid:23424873 woeid:23424874 woeid:23424875 woeid:23424876 woeid:23424877 woeid:23424879 woeid:23424880 woeid:23424881 woeid:23424882 woeid:23424883 woeid:23424884 woeid:23424885 woeid:23424886 woeid:23424887 woeid:23424888 woeid:23424889 woeid:23424890 woeid:23424891 woeid:23424892 woeid:23424893 woeid:23424894 woeid:23424896 woeid:23424897 woeid:23424898 woeid:23424899 woeid:23424900 woeid:23424901 woeid:23424902 woeid:23424903 woeid:23424904 woeid:23424905 woeid:23424906 woeid:23424907 woeid:23424908 woeid:23424909 woeid:23424910 woeid:23424911 woeid:23424912 woeid:23424913 woeid:23424914 woeid:23424915 woeid:23424916 woeid:23424917 woeid:23424918 woeid:23424919 woeid:23424921 woeid:23424922 woeid:23424923 woeid:23424924 woeid:23424925 woeid:23424926 woeid:23424927 woeid:23424928 woeid:23424929 woeid:23424930 woeid:23424931 woeid:23424932 woeid:23424933 woeid:23424934 woeid:23424935 woeid:23424936 woeid:23424937 woeid:23424938 woeid:23424939 woeid:23424940 woeid:23424941 woeid:23424942 woeid:23424943 woeid:23424944 woeid:23424945 woeid:23424946 woeid:23424947 woeid:23424948 woeid:23424949 woeid:23424950 woeid:23424951 woeid:23424952 woeid:23424954 woeid:23424955 woeid:23424956 woeid:23424957 woeid:23424958 woeid:23424960 woeid:23424961 woeid:23424962 woeid:23424963 woeid:23424964 woeid:23424965 woeid:23424966 woeid:23424967 woeid:23424968 woeid:23424969 woeid:23424970 woeid:23424971 woeid:23424972 woeid:23424973 woeid:23424974 woeid:23424975 woeid:23424976 woeid:23424977 woeid:23424978 woeid:23424979 woeid:23424980 woeid:23424981 woeid:23424982 woeid:23424983 woeid:23424984 woeid:23424985 woeid:23424986 woeid:23424987 woeid:23424989 woeid:23424990 woeid:23424992 woeid:23424993 woeid:23424997 woeid:23424998 woeid:23425002 woeid:23425003 woeid:23425004 woeid:24865698 woeid:26812346 woeid:28289406 woeid:28289407 woeid:28289408 woeid:28289409 woeid:28289410 woeid:28289411 woeid:28289413 woeid:56042304 woeid:56042305 entity:Alba%2C_Italy woeid:7153345 entity:Brunello_di_Montalcino entity:Province_of_Novara entity:Province_of_Vercelli entity:Province_of_Syracuse entity:Province_of_Trento entity:Parrina entity:Garda_%28VR%29 woeid:709809 entity:Franciacorta woeid:20132969 entity:Lagaria entity:History_of_Chianti woeid:2393314 entity:Bairrada_DOC entity:Alentejo_wine entity:Landscape_of_the_Pico_Island_Vineyard_Culture entity:Almeirim_wine entity:Biscoitos_IPR entity:Castelo_Rodrigo_wine entity:Palmela_DOC entity:Pinhel_wine entity:Santar%C3%A9m_wine entity:Torres_Vedras_DOC entity:Carcavelos_DOC entity:Redondo_wine entity:Set%C3%BAbal_DOC entity:Pen%C3%ADnsula_de_Set%C3%BAbal_VR entity:Vinho_Verde entity:Viana_do_Castelo_District entity:D%C3%A3o_DOC entity:D%C3%A3o_River entity:Alenquer_DOC entity:Chamusca_wine entity:Encostas_d%27Aire_DOC entity:Graciosa_IPR entity:Valpa%C3%A7os_wine entity:T%C3%A1vora-Varosa_DOC entity:Bucelas_DOC entity:Portalegre_wine entity:Portim%C3%A3o_DOC entity:Reguengos_wine entity:Madeira_wine entity:Braga_District entity:Douro_DOC woeid:738145 entity:Minho_Province entity:Arruda_DOC entity:Chaves_wine entity:Coruche_wine entity:Cova_da_Beira_wine entity:Evora_wine entity:Granja-Amareleja_wine entity:Laf%C3%B5es_IPR entity:Moura_wine entity:Tomar_wine entity:Borba_wine entity:Colares_DOC entity:Lagoa_DOC entity:Lagos_DOC entity:Tavira_DOC entity:Vidigueira_wine entity:Algarve_VR entity:Beiras_VR entity:Lisboa_VR woeid:2346570 entity:Alcoba%C3%A7a_wine entity:Cartaxo_wine entity:%C3%93bidos_DOC entity:Pico_IPR entity:Planalto_Mirand%C3%AAs_wine entity:Tejo_VR entity:Minho_VR entity:Tr%C3%A1s-os-Montes_wine entity:Terras_Madeirenses_VR entity:Beira_Interior_DOC entity:Duriense_VR entity:A%C3%A7ores_VR entity:Upper_Franconia entity:Middle_Franconia entity:Selz entity:Saxony_%28wine_region%29 entity:Mittelrhein_%28wine_region%29 entity:Nahe_%28wine_region%29 entity:Niederlausitz_%28wine_region%29 entity:W%C3%BCrttemberg_%28wine_region%29 entity:Stargarder_Land_%28wine_region%29 entity:Ahr_%28wine_region%29 entity:Ruwer_%28region%29 entity:Franconia_%28wine_region%29 woeid:2345488 entity:Saale-Unstrut entity:German_Wine_Route entity:Baden_%28wine_region%29 entity:Kaiserstuhl entity:Piesporter entity:Hessische_Bergstra%C3%9Fe entity:Rheingau_%28wine_region%29 entity:Rheinhessen_%28wine_region%29 woeid:674651 entity:Lower_Franconia entity:Mosel_%28wine_region%29 entity:Moselle_wine entity:Palatinate_%28wine_region%29 entity:Zitsa entity:Naousa%2C_Imathia woeid:12513321 entity:Goumenissa entity:Metsovo entity:Amyntaio entity:Epanomi entity:Beaujolais_%28wine%29 entity:Chablis_wine entity:C%C3%B4te_de_Nuits entity:Cl%C3%A9rey-la-C%C3%B4te entity:Fronsac%2C_Gironde entity:South_West_France_%28wine_region%29 woeid:7153330 woeid:576394 entity:Route_des_Grands_Crus entity:C%C3%B4te_Chalonnaise entity:Loire_Valley_%28wine%29 woeid:null entity:Saint-%C3%89milion entity:Burgundy_wine entity:M%C3%A9doc entity:Saint-Est%C3%A8phe entity:Bergerac%2C_Dordogne entity:C%C3%B4te_d%27Or_%28escarpment%29 entity:Jura_wine entity:Corsica_wine entity:C%C3%B4tes_de_Gascogne entity:Savoy_wine entity:Provence_wine entity:Anjou_wine entity:Bordeaux_wine entity:Champagne_%28wine_region%29 woeid:617194 entity:Rh%C3%B4ne_wine entity:Ch%C3%A2teauneuf-du-Pape entity:Pessac-L%C3%A9ognan entity:Alsace_wine woeid:582960 entity:Languedoc_wine entity:Madiran entity:Lower_Austria entity:Oslip woeid:551801 woeid:23509384 woeid:2344713 entity:Purbach_am_Neusiedlersee entity:Donnerskirchen entity:Sausal entity:Sulm_%28Austria%29 entity:Burgenland entity:Austrian_wine entity:Weinviertel entity:Kitzeck_im_Sausal entity:Grinzing entity:Malaga_%28wine%29 entity:Bierzo_%28DO%29 entity:Bullas_%28DO%29 entity:Campo_de_Borja entity:Cari%C3%B1ena_%28DO%29 entity:Catalunya_%28DO%29 entity:Dominio_de_Valdepusa entity:Montilla-Moriles entity:Utiel-Requena entity:Valencia_%28DO%29 entity:Valdeorras_%28DO%29 entity:Yecla_%28DO%29 entity:Otazu entity:La_Palma_%28DO%29 entity:Villaviciosa_de_C%C3%B3rdoba_%28Vino_de_la_Tierra%29 entity:Alella_%28DO%29 entity:Alicante_%28DO%29 entity:Ribera_del_Duero entity:Binissalem-Mallorca entity:Condado_de_Huelva entity:Galician_wine entity:Empord%C3%A0_%28DO%29 entity:Pened%C3%A8s entity:Ribera_del_J%C3%BAcar entity:Jumilla_%28DO%29 entity:La_Mancha_%28DO%29 entity:Pl%C3%A0_i_Llevant_%28DO%29 entity:Ribeiro_%28DO%29 entity:Spanish_wine_regions entity:Mond%C3%A9jar_%28DO%29 entity:Valdepe%C3%B1as_%28DO%29 entity:Terra_Alta_%28DO%29 entity:Dehesa_del_Carrizal entity:Arribes_%28DO%29 entity:Se%C3%B1or%C3%ADo_de_Ar%C3%ADnzano entity:%C3%81lava entity:Abona_%28DO%29 entity:Calatayud_%28DO%29 entity:Manchuela entity:Somontano entity:M%C3%A9ntrida entity:The_Golden_Mile%2C_Spain entity:Monterrei_%28DO%29 entity:Rueda_%28DO%29 entity:Navarra_%28DO%29 entity:Priorat_%28DOQ%29 entity:Toro_%28DO%29 entity:Vinos_de_Madrid entity:Tierra_del_Vino_de_Zamora_DO entity:Valles_de_Benavente entity:Getariako_Txakolina entity:Bizkaiko_Txakolina entity:Valle_de_la_Orotava entity:Gran_Canaria_%28DO%29 entity:Rioja_%28wine%29 entity:Almansa_%28DO%29 entity:Catalan_wine entity:Cigales entity:Conca_de_Barber%C3%A0_%28DO%29 entity:Costers_del_Segre entity:Guijoso entity:Montsant entity:Pla_de_Bages entity:Ribera_del_Guadiana entity:Tacoronte-Acentejo entity:R%C3%ADas_Baixas_%28DO%29 entity:Ribeira_Sacra_%28DO%29 entity:M%C3%A1laga_and_Sierras_de_M%C3%A1laga entity:Tarragona_%28DO%29 entity:Finca_%C3%89lez entity:Arlanza_%28DO%29 entity:Tierra_de_Le%C3%B3n_%28DO%29 entity:Txakoli_de_%C3%81lava entity:Valle_de_G%C3%BC%C3%ADmar entity:Ycoden-Daute-Isora entity:Prado_de_Irache entity:Ucl%C3%A9s_%28DO%29 entity:Lanzarote_%28DO%29 entity:Campo_de_Cartagena_%28Vino_de_la_Tierra%29 entity:Cangas_%28Vino_de_la_Tierra%29 entity:El_Terrerazo entity:Ribera_del_G%C3%A1llego-Cinco_Villas entity:Ribera_del_Jiloca entity:Bail%C3%A9n_%28Vino_de_la_Tierra%29 entity:Norte_de_Almer%C3%ADa entity:Illes_Balears_%28Vino_de_la_Tierra%29 entity:Mallorca_%28Vino_de_la_Tierra%29 entity:Tierra_del_Vino entity:Pago_Florentino entity:La_Gomera_%28DO%29 entity:El_Hierro_%28DO%29 entity:Costa_de_Cantabria entity:Castell%C3%B3_%28Vino_de_la_Tierra%29 entity:Betanzos_%28Vino_de_la_Tierra%29 entity:C%C3%A1diz_%28Vino_de_la_Tierra%29 entity:Contraviesa-Alpujarra entity:Torreperogil_%28Vino_de_la_Tierra%29 entity:Extremadura_%28Vino_de_la_Tierra%29 entity:Li%C3%A9bana_%28Vino_de_la_Tierra%29 entity:Barbanza_e_Iria entity:Valle_del_Mi%C3%B1o-Orense entity:Castilla_%28Vino_de_la_Tierra%29 entity:G%C3%A1lvez_%28Vino_de_la_Tierra%29 entity:Pozohondo_%28Vino_de_la_Tierra%29 entity:Bajo_Arag%C3%B3n_%28Vino_de_la_Tierra%29 entity:Valdejal%C3%B3n_%28Vino_de_la_Tierra%29 entity:Valle_del_Cinca entity:Desierto_de_Almer%C3%ADa entity:Granada_Sur-Oeste entity:Laujar-Alpujarra entity:Los_Palacios_%28Vino_de_la_Tierra%29 entity:Norte_de_Granada entity:Sierra_Norte_de_Sevilla entity:Sierras_de_Las_Estancias_y_Los_Filabres entity:Formentera_%28Vino_de_la_Tierra%29 entity:Abanilla_%28Vino_de_la_Tierra%29 entity:Ribera_del_Queiles entity:Castilla_y_Le%C3%B3n_%28Vino_de_la_Tierra%29 entity:Sierra_de_Alcaraz_%28Vino_de_la_Tierra%29 entity:C%C3%B3rdoba_%28Vino_de_la_Tierra%29 entity:Ribera_del_Andarax entity:Sierra_Sur_de_Ja%C3%A9n entity:Ibiza_%28Vino_de_la_Tierra%29 entity:Isla_de_menorca_%28Vino_de_la_Tierra%29 entity:Serra_de_Tramuntana-Costa_Nord entity:Campo_de_La_Guardia entity:Pened%C3%A8s_%28DO%29 entity:Zielona_G%C3%B3ra woeid:816626 entity:Szeksz%C3%A1rd entity:Vill%C3%A1ny entity:Sopron entity:Tokaj-Hegyalja entity:Tarcal entity:Eger_%28wine%29 entity:Soltvadkert entity:Soml%C3%B3 entity:M%C3%B3r entity:Badacsony_wine entity:Vr%C5%A1ac entity:Fru%C5%A1ka_Gora entity:Negotin entity:Dr%C4%83g%C4%83%C5%9Fani entity:Cotnari entity:Abrau-Dyurso entity:Derbent entity:Kizlyar entity:Aconcagua_River entity:Elqui_River entity:Maule_River entity:Central_Valley_%28wine_region%29 entity:Shabo_%28Odessa_Oblast%29 entity:Balti_%28wine%29 entity:Codru_%28wine%29 entity:Nistreana_%28wine%29 entity:Cahul_%28wine%29 entity:New_World_wine entity:Persian_wine entity:Assembly_of_European_Wine-producing_Regions entity:Wine_route entity:Wine_Festivals entity:Wine_in_the_Middle_East entity:Margaret_River_%28wine_region%29 entity:Aar woeid:26354129 entity:Rhone entity:Linth entity:Reuss_%28river%29 entity:Aabach_%28Greifensee%29 entity:Arve entity:Sihl entity:Birs entity:Broye entity:T%C3%B6ss_%28river%29 entity:Albula_%28river%29 entity:Wiese entity:Simme entity:Hinterrhein_%28river%29 entity:Moesa entity:Lorze entity:Maira_River_%28Switzerland%29 entity:Versoix_%28river%29 entity:Poschiavino entity:Wigger_%28river%29 entity:Limmat entity:L%C3%BCtschine entity:Birsig entity:Rom_%28river%29 entity:Engelberger_Aa entity:Glatt_%28Rhine%29 entity:Mera_%28river%29 entity:Tamina entity:Doubs_%28river%29 entity:Thur_%28Switzerland%29 entity:Julia_%28river%29 entity:Sp%C3%B6l entity:High_Rhine entity:Kander_%28Switzerland%29 entity:Sarner_Aa entity:Kleine_Emme entity:Landwasser entity:Upper_Rhine entity:Inn_%28river%29 entity:Emme_%28river%29 entity:Saane/Sarine entity:Aarberg entity:Allaine entity:Allondon entity:Breggia entity:Reppisch entity:Tomasee entity:Jona_%28river%29 entity:Veyron_%28river%29 entity:Isorno_%28river%29 entity:Diveria entity:Orbe_%28river%29 entity:M%C3%B6hlinbach entity:Melezzo_Orientale entity:Venoge_%28river%29 woeid:26354149 entity:Tobol_River entity:Talas_River entity:Karatal_River entity:Sary_su_River entity:Kargala_River entity:Turgai_River entity:Tuolba_River entity:Uy_River_%28Tobol_basin%29 entity:Bolshoy_Uzen_River entity:Maly_Uzen_River entity:Syr_Darya woeid:26354197 entity:Emba_River entity:Ili_River entity:Chu_River entity:Ilek_River entity:Ishim_River entity:Irgiz_River_%28Kazakhstan%29 entity:Or_River entity:Sayramsu_River entity:Badam_River entity:Bugun_River entity:Bukhtarma_River entity:Lukina_River entity:Narym_River entity:Sytasty_River entity:Akan-Burluk_River entity:O_River entity:Kigach_River entity:Sarisu_River entity:Aschiagar_River entity:Ajaguz_River entity:Koluton_River entity:Kurchum_River entity:Torgai_River entity:Ubagan_River entity:Charyn_River entity:Koksu_River entity:Asa_River_%28Kazakhstan%29 entity:Arys_River entity:Mashat_River entity:Boralday_River entity:Byan_River entity:Kapal_River entity:Ayat_River entity:Iman-Burluk_River entity:Keles_River entity:Tersakkan_River entity:Uba_River entity:Ulba_River woeid:2489218 entity:Blees entity:Wiltz_%28river%29 entity:Syre entity:Mamer_%28river%29 entity:Gander_%28Moselle%29 entity:Chiers entity:Our_%28river%29 entity:Clerve entity:Attert_%28river%29 entity:Black_Ernz entity:White_Ernz entity:Moselle_%28river%29 entity:Alzette entity:Mess_%28river%29 entity:Neris entity:Vilnia_River entity:%C5%A0ventoji_River entity:Dysna entity:Nev%C4%97%C5%BEis_River entity:Nemun%C4%97lis entity:%C5%A0irvinta_River entity:%C5%A0al%C4%8Dia entity:Virvyt%C4%97 entity:%C5%A0ventoji_River_%28Baltic%29 entity:Str%C4%97va_River woeid:2126070 entity:Venta_River entity:Dubysa entity:Kupa_River_%28Lithuania%29 entity:Svalia_River entity:Minija entity:Mituva entity:Gry%C5%BEuva entity:%C5%A0u%C5%A1v%C4%97 entity:%C5%A0e%C5%A1uvis entity:Kotra_River entity:L%C4%97vuo entity:Merkys_River entity:J%C5%ABra entity:Svete_River entity:%C5%A0e%C5%A1up%C4%97_River entity:Bartuva entity:%C5%AAla_River entity:Lietauka entity:Marycha entity:M%C5%AB%C5%A1a entity:%C5%BDeimena entity:Liepona entity:Ribnica_%28river%29 entity:Trebi%C5%A1njica entity:%C5%A0avnik_%28river%29 entity:Tu%C5%A1ina entity:Sitnica_%28Mora%C4%8Da%29 entity:Lim_%28river%29 entity:Bojana entity:%C4%86ehotina entity:Mareza entity:Ibar_%28river%29 entity:Zeta_%28river%29 entity:Tara_%28Drina%29 entity:Cemi/Cijevna entity:Piva_%28river%29 entity:Rivers_of_Serbia_and_Montenegro entity:Bukovica_%28river%29 entity:Mora%C4%8Da entity:Khrami_River entity:Rivers_and_lakes_in_Azerbaijan entity:Voghdji_River entity:Aghstafa_River entity:Kura_River woeid:752654 entity:Arpa_River entity:Iori_River entity:Alazani entity:Vorotan_River entity:Pirsaat_River entity:Transleithania entity:Leitha entity:Cisleithania entity:Leitha_%28disambiguation%29 entity:Great_Ouse_Boating_Association entity:Fiumicello_%28river%29 entity:San_Marino_River entity:Ausa_River entity:Cando_%28river%29 entity:Marano_%28river%29 entity:Tunguli%C3%B0s%C3%A1 entity:St%C3%B3r%C3%A1 entity:Brei%C3%B0%C3%A1 entity:Skip%C3%A1 entity:Kirkju%C3%A1 entity:Hanusar%C3%A1 woeid:695918 woeid:33386 woeid:23410727 entity:Tisza entity:Segre_%28river%29 entity:Drava entity:Isar entity:Prut entity:Yser entity:Pa%C5%82ata entity:Narew entity:Leie woeid:768022 woeid:2123872 entity:Sava entity:Desna_River woeid:907753 entity:Timi%C5%9F_River entity:Thaya entity:Hern%C3%A1d entity:Inde entity:Rur entity:Geul entity:Jeker entity:Crasna_River_%28Tisza%29 entity:Jizera_%28river%29 entity:Sutla entity:Lovat_River entity:Dora_Riparia entity:Blies entity:Gauja entity:Akhurian_River entity:%C3%87oruh_River entity:Sozh entity:Argun_River_%28Caucasus%29 entity:Bodva entity:Jijia_River_%28Prut%29 entity:Crasna_Veche_River entity:Eisch entity:Jerma entity:Debed entity:Tem%C5%A1tica entity:Haine entity:Horyn_River entity:Nied entity:Rezovo_River entity:N%C3%A4%C3%A4t%C3%A4m%C3%B6_River entity:Petr%C5%AFvka_%28river%29 entity:Ier_River_%28Mure%C5%9F%29 entity:Roya_%28river%29 entity:Samina_%28river%29 entity:Giona_%28river%29 entity:Tresa entity:Voer entity:%C3%81gueda_River_%28Douro%29 entity:Reka_%28river%29 entity:Chamb entity:Piusa_River entity:Le%C5%9Bna_Prawa entity:Vardar entity:San_%28river%29 entity:Mure%C5%9F_River woeid:26354151 entity:Narva_River entity:Sambre entity:Dommel entity:River_Foyle entity:Bodrog entity:Semois entity:Lu%C5%BEnice_%28river%29 entity:Freiberger_Mulde entity:Una_%28Sava%29 entity:Kupa_%28river%29 entity:Korana entity:Orlice entity:Cri%C5%9Ful_Alb_River entity:Timok_%28river%29 entity:Ni%C5%A1ava entity:Vefsna entity:Veleka entity:Dospat_%28river%29 entity:Dragovi%C5%A1tica entity:Machakhlistskali entity:Studva entity:Mandau entity:Mara_%28torrent%29 entity:Ledava entity:Limia_%28river%29 entity:Vipava_%28river%29 entity:Moravian_Thaya entity:So%C4%8Da entity:Gran_Valira entity:Cri%C5%9Ful_Repede_River entity:B%C3%B3br entity:Struma_%28river%29 entity:Me%C5%BEa entity:Paatsjoki entity:Western_Bug entity:Olza_%28river%29 entity:Siret_River entity:Uzh_River entity:Saj%C3%B3 entity:Ipe%C4%BE entity:R%C3%A1ba entity:Oh%C5%99e entity:Mius_River entity:Styr_River entity:River_Erne entity:Vjos%C3%AB entity:Mark_%28Dintel%29 entity:Biela_%28river%29 entity:Cenischia entity:Psou_River entity:Bosut_%28river%29 entity:Divok%C3%A1_Orlice entity:Iput_River entity:K%C3%B6r%C3%B6s-%C3%A9r entity:Erythropotamos entity:Oskol_River entity:Vid%C3%A5 entity:Muonio_River entity:Wilde_Wei%C3%9Feritz entity:Tur_River entity:Myjava_%28river%29 entity:Valea_Neagr%C4%83_River_%28Crasna%29 entity:Aporliget entity:Caia_%28river%29 entity:River_Cladagh_%28Swanlinbar%29 entity:Mal%C5%A1e entity:Bist_%28river%29 entity:Meuse_%28river%29 entity:Guadiana woeid:585927 entity:Ticino_%28river%29 entity:Lech_%28river%29 woeid:28998547 entity:T%C3%A2mega_river woeid:9657 woeid:26789662 entity:Lusatian_Neisse entity:Poprad_%28river%29 entity:Dunajec entity:Pripyat_River entity:Oise_%28river%29 entity:Seversky_Donets entity:Arda_%28Maritsa%29 entity:Saalach entity:Maritsa entity:Morava_%28river%29 entity:Berounka entity:Ari%C3%A8ge_%28river%29 entity:Loisach entity:Opava_%28river%29 entity:Mesta_River entity:Cri%C5%9Ful_Negru_River entity:Some%C5%9F_River entity:Bidasoa entity:Tundzha entity:Strumica_%28river%29 entity:River_Blackwater%2C_Northern_Ireland entity:Latorica entity:Cogalnic_River entity:Tana_River_%28Norway%29 entity:Kasplya_River entity:M%C5%BEe entity:Vils_%28Lech%29 entity:Termon_River entity:Narewka_%28river%29 entity:Pre%C3%9Fnitz entity:Svatava entity:Pededze entity:Kukhva_River entity:Ardila_River entity:Oder entity:Reiu entity:Chanza_River entity:Ludza_River entity:%C3%95hne entity:Middle_River%2C_Isle_of_Man entity:River_Sulby entity:Crogga_River entity:River_Glass%2C_Isle_of_Man entity:Greeba_River entity:River_Neb entity:Santon_Burn entity:Foxdale_River entity:River_Dhoo entity:Blaber_River entity:Baldwin_River entity:Linge entity:Lek_%28river%29 entity:Vecht_%28Utrecht%29 entity:IJ_%28bay%29 entity:Oude_Rijn_%28Gelderland%29 entity:Niers entity:Swalm entity:Wurm entity:Lower_Rhine woeid:1101914 entity:Fivel entity:Dieze entity:Regge_%28river%29 entity:Zaan entity:Noord_%28river%29 entity:Run_%28stream%29 entity:Waal_%28river%29 entity:IJssel entity:Beneden_Merwede entity:Spui_%28river%29 entity:Afgedamde_Maas entity:Amer_%28river%29 entity:Vechte entity:Zwarte_Water entity:Berkel entity:Vidrus entity:Nieuwe_Maas entity:Dordtsche_Kil entity:Hollandse_IJssel entity:Gender_%28stream%29 entity:Nederrijn entity:Het_Scheur entity:Kromme_Rijn entity:Oude_IJssel entity:Oude_Maas entity:Schipbeek entity:Drentsche_Aa entity:Donge_%28river%29 entity:Ems_%28river%29 entity:Boven_Merwede entity:Spaarne entity:Oude_Rijn_%28Utrecht_and_South_Holland%29 entity:Lauwers entity:Merwede entity:Aa_%28Meuse%29 entity:Nabalia entity:Gouwe_%28river%29 entity:Dintel entity:Krammer entity:Volkerak entity:Keeten-Mastgat entity:Schie entity:Steenbergse_Vliet entity:Rotte_%28river%29 entity:Geleenbeek entity:Choloki_River entity:Aragvi_River entity:Ksani entity:Chanistskali_River entity:Rioni_River entity:Korolistskali entity:Greater_Liakhvi_River entity:Qvirila_River entity:Algeti_River entity:Tskhenis-Tsqali entity:Supsa_River entity:Adjaris-Tsqali entity:Batman_River entity:Khabur_River entity:Terme_River entity:Bak%C4%B1r%C3%A7ay entity:K%C3%B6pr%C3%BC%C3%A7ay_River entity:Balikh_River entity:Ankara_River entity:Cadmus_%28river%29 entity:Hyllus_%28river%29 entity:Porsuk_River entity:Payas_River entity:Manavgat_River entity:Asopus entity:Orontes_River entity:B%C3%BCy%C3%BCk_Menderes_River entity:Karamenderes_River entity:Biga_%C3%87ay%C4%B1 entity:Limonlu_%C3%87ay%C4%B1 entity:Delice_River entity:Lycus_%28river_of_Cilicia%29 entity:Lycus_%28river_of_Phrygia%29 entity:River_Meles entity:K%C4%B1l%C4%B1%C3%A7lar_River entity:Zamant%C4%B1_River entity:Quweiq entity:G%C3%B6ksu entity:Cayster_River entity:Bart%C4%B1n_River entity:Great_Zab entity:Ye%C5%9Fil%C4%B1rmak_River entity:Lycus_%28river_of_Lydia%29 entity:Gediz_River entity:Gelevara_Deresi entity:Seydisuyu entity:Simav_River entity:Tohumluk_River entity:%C3%9C%C3%A7k%C3%B6pr%C3%BC entity:Kara_Dere entity:Khabur_%28Tigris%29 entity:Aegospotami entity:K%C4%B1z%C4%B1l%C4%B1rmak_River entity:Pactolus entity:Sakarya_River entity:Aksu_River_%28Turkey%29 entity:Ceyhan_River entity:Seyhan_River entity:Murat_River entity:Lycus_%28river_of_Bithynia%29 entity:Deli_%C3%87ay_River entity:Pinarus_River entity:Ya%C4%9Fl%C4%B1dere_stream entity:Botan_River entity:%C3%87ekerek_River entity:Kelkit_River entity:G%C3%B6k_River entity:Berdan_River entity:Glaucus_%28river_of_Asia_Minor%29 entity:Achelous_River entity:Ladon_%28river%29 entity:Pineios_%28Thessaly%29 entity:Oenus_%28river%29 entity:Pamisos_%28river%29 entity:Tara_%28Greece%29 entity:Zacholitikos entity:Drino entity:Cephissus_%28Athenian_plain%29 entity:Elaea_%28river%29 entity:Pindus_%28river%29 entity:Elpeus entity:Evinos entity:Mornos entity:Peiros entity:Krathi entity:Granitsiotis entity:Cephissus entity:Haliacmon entity:Eurotas_%28river%29 entity:Agrafiotis entity:Pineios_%28Peloponnese%29 entity:Spercheios entity:Amphryssos entity:Charadros entity:Krausidonas entity:Arachthos_%28river%29 entity:Glafkos_%28river%29 entity:Meilichos entity:Plataneiko entity:Volinaios entity:Titarisios entity:Gallikos_%28river%29 entity:Sarantaporos_River_%28Larissa%29 entity:Tyria_%28river%29 entity:Acheron entity:Cephissus_%28Boeotia%29 entity:Kladeos entity:Alfeios entity:Aroanios entity:Eridanos_%28Athens%29 entity:Thyamis entity:Brychon entity:Elissos entity:Loussios entity:Ilissos entity:Selemnos entity:Megdovas entity:Neda_%28river%29 entity:Krios_%28stream%29 entity:Larissos_%28river%29 entity:Tragus_%28river%29 entity:Tytheus entity:Erymanthos_%28river%29 entity:Enipefs entity:Inachos_%28river%29 entity:Gorgopotamos_%28river%29 entity:Olvios entity:Anydro entity:Bouraikos_river entity:Nedonas entity:Fonissa entity:Peristeri_%28stream%29 entity:Arno entity:Tiber_River entity:Nure entity:Adige entity:Savio_%28river%29 entity:Liri entity:Sesia entity:Allia entity:Dora_Baltea entity:Orco entity:Bacchiglione entity:Sordo entity:Tanaro_%28river%29 entity:Anapo entity:Agri_%28river%29 entity:Belbo entity:Bormida_di_Spigno entity:Sarca entity:B%C3%A9v%C3%A9ra entity:Ciane entity:Rienz entity:Tagliamento entity:Cosia entity:Magra entity:Elvo entity:Salso entity:Lemme entity:Fiora entity:Olona entity:Senio entity:Grande_River_%28Sicily%29 entity:Cesano_%28river%29 entity:Plima entity:Toce entity:Soana_%28river%29 entity:Montone_%28river%29 entity:Albano_%28river%29 entity:Seveso_%28river%29 entity:Maira entity:San_Bernardino_%28torrent%29 entity:Tarus entity:Roia_%28river%29 entity:Ceno entity:Enza entity:Grue_%28river%29 entity:Gader entity:Pfunderer_Bach entity:Ridnauner_Bach entity:Po_%28river%29 entity:Trigno entity:Belice entity:Isarco entity:Aniene entity:Panaro entity:Agogna entity:Ofanto entity:Mincio entity:Calore_Irpino entity:Sele_%28river%29 entity:Avisio entity:Hypsas entity:Boesio entity:Chiese entity:Curone entity:Mazaro entity:Lambro entity:Tartaro-Canalbianco-Po_di_Levante entity:Caffaro_%28river%29 entity:Brembo_%28river%29 entity:Bormida_%28river%29 entity:Helorus_%28river%29 entity:Calore_Lucano entity:Lys_%28Dora_Baltea%29 entity:Tronto entity:Topino entity:Eisack entity:Savuto entity:Foglia entity:Trerus entity:Tanager_%28river%29 entity:Trebia_%28river%29 entity:Vomano entity:Tesino entity:Garigliano entity:Piave_%28river%29 entity:Brenta_%28river%29 entity:Adda_%28river%29 entity:Stura_di_Demonte entity:Acquacheta entity:Corno_%28river%29 entity:Taro_%28river%29 entity:Marecchia entity:Aterno-Pescara entity:Sinni_%28river%29 entity:Nera_%28Italy%29 entity:Flumendosa entity:Calcinara entity:Re_di_Anfo entity:Fiumelatte_%28river%29 entity:Malone_%28river%29 entity:Terdoppio entity:Liro_%28Sondrio%29 entity:Sacco_%28river%29 entity:Vara_%28river%29 entity:Tirso_%28river%29 entity:Versa_%28Po%29 entity:Parma_%28river%29 entity:Stura_del_Monferrato entity:Aso_%28river%29 entity:Ronco_%28river%29 entity:Tessuinum entity:Rubicon entity:Volturno entity:Trebbia entity:Ombrone entity:Metauro entity:Stura_di_Lanzo entity:Secchia entity:Acquafraggia entity:Clitunno_%28river%29 entity:Arda_%28Italy%29 entity:Longanus entity:Tammaro entity:Tanagro entity:Basento entity:Cremera entity:Biferno entity:Serchio entity:Borbera entity:Buthier entity:Chisone entity:Cixerri entity:Grana_del_Monferrato entity:Crathis entity:Crostolo entity:Dirillo entity:Dittaino entity:Dora_di_Bardonecchia entity:Fortore entity:Limentra entity:Alcantara_%28river%29 entity:Margorabbia entity:Stilaro entity:Stirone entity:Pioverna entity:Staffora entity:Rotaldo entity:Santerno entity:Scrivia entity:Crinisus_%28river%29 entity:Orba_%28river%29 entity:Verdura entity:Reno_%28river%29 entity:Liro_%28Como%29 entity:Passer_%28river%29 entity:Ticinus entity:Cervo_%28river%29 entity:Varaita entity:Truentus entity:Tolerus entity:Irminio entity:Platani entity:Teverone entity:Tifernus entity:Trinius entity:Sillaro entity:Gattola entity:Paglia_%28river%29 entity:Erro_%28river%29 entity:Velino entity:Versa_%28Tanaro%29 entity:Allaro entity:Simeto entity:Ahr_%28South_Tyrol%29 entity:Eggentaler_Bach entity:Pfitscher_Bach entity:Talfer entity:Ippari entity:Stronetta_%28river%29 entity:Strona_%28river%29 entity:Sant%E2%80%99Anna_%28river%29 entity:Arrone_%28river%29 entity:Slizza entity:Timavo entity:Temo_%28river%29 entity:Parina entity:Cavone entity:Lavagna_%28river%29 entity:Locone entity:Gravina_di_Matera entity:Gerace_%28river%29 entity:Antholzerbach entity:Braibach entity:Gr%C3%B6dner_Bach entity:Pflerscher_Bach entity:Reinbach entity:Villn%C3%B6%C3%9Fer_Bach entity:Cassibile_%28river%29 entity:Coghinas entity:Tinella entity:Nigoglia entity:Chiascio entity:Gorzente entity:Tusciano entity:Stabina entity:Troina_%28torrente%29 entity:Cerami_%28torrente%29 entity:Flumini_Mannu entity:Lato_%28river%29 entity:Bradano entity:Bilioso entity:Arroscia entity:Canale_Reale entity:Amusa_%28river%29 entity:Bonamico_%28river%29 entity:Pellice entity:Melezzo_Occidentale entity:Piota entity:Amendolea_%28river%29 entity:Gravina_%28river%29 entity:Marro entity:Falschauer entity:Gsieser_Bach entity:Karlinbach entity:Pragser_Bach entity:Saldurbach entity:Schnalser_Bach entity:Suldenbach entity:Anza_%28river%29 entity:Fiume_di_Girgenti entity:Ose_%28torrent%29 entity:Marta_%28river%29 entity:Enna_%28river%29 entity:Salandrella entity:Basentello entity:Gornalunga entity:Argentina_%28river%29 entity:Aiviekste_River entity:Salaca entity:Dubna_River_%28Daugava_basin%29 entity:Lielupe entity:R%C4%ABtupe entity:Malta_River entity:Dienvidsus%C4%93ja entity:Tartaks_River entity:Abava entity:Maz%C4%81_Jugla entity:R%C4%93zekne_River entity:Stende_River entity:Cena_River entity:Misa_River entity:Iecava_River entity:Ogre_River entity:B%C4%93rze entity:Svislach_River entity:Narach_River entity:Drahabuzh_River entity:Shchara_River entity:Mukhavets_River entity:Babruyka_River entity:Ptsich entity:Sluch_River_%28Belarus%29 entity:Ashmyanka entity:Drut_River entity:Yaselda_River entity:Braginka_River entity:Prorva_River entity:Berezina_River entity:Niamiha entity:Ubort_River entity:Zelvyanka_River entity:Haradni%C4%8Danka entity:%C5%81asosna entity:Lewaja_Lasnaja entity:Isa_River entity:Jurysdyka entity:Kotorosl_River entity:Kostroma_River entity:Sviyaga_River entity:Sal_River_%28Russia%29 entity:Bureya_River entity:Shelon_River entity:Avacha_River entity:Khopyor_River entity:Bolshoy_Cheremshan_River entity:Lebed_River entity:Neruch_River entity:Kur_River_%28Kursk_Oblast%29 entity:Mzymta_River entity:Shacha_River entity:Kura_River_%28Russia%29 entity:Purpe_River entity:Pyakupur_River entity:Psefir_River entity:Pyana_River entity:Vorona_River_%28Russia%29 entity:Chulym_River_%28Malyye_Chany_Lake%29 entity:Karasuk_River entity:Pshish_River entity:Khemchik_River entity:Barysh_River entity:Beysug_River entity:Kirpili_River entity:Lyutoga_River entity:Yenisei_River woeid:26354123 entity:Selenge_River entity:Pechora_River entity:Cheptsa_River entity:Bolshaya_Laba_River entity:Nadym_River entity:Kolva_River_%28Usa%29 entity:Selemdzha_River entity:Uy_River_%28Irtysh_basin%29 entity:Katanga_River entity:Chebdar_River entity:Chumysh_River entity:Zusha_River entity:Bolva_River entity:Obnora_River entity:Belaya_River_%28Kuban%29 entity:Bolshoy_Kinel_River entity:Mras-Su_River entity:Kondoma_River entity:Taz_River entity:Oka_River entity:Kama_River entity:Sura_River entity:Tom_River entity:Kuban_River entity:Kolyma_River entity:Tsna_River_%28Moksha_basin%29 entity:Kosovka_River entity:Dep_River entity:Manych_River entity:Biya_River entity:Vakh_River entity:Velikaya_River entity:Iset_River entity:Nerl_River_%28Klyazma%29 entity:Nerl_River_%28Volga%29 entity:Kuma_River_%28Russia%29 entity:Yeya_River entity:Pur_River entity:Kunya_River entity:Seym_River entity:Gonam_River entity:Plyussa_River entity:Psel_River entity:Left_Khetta_River entity:Yaya_River entity:Snov_River entity:Sochi_River entity:Sok_River entity:Sulak_River entity:Tes_River entity:Tereshka_River entity:Buy_River entity:Sogozha_River entity:Kazim_River entity:Pim_River entity:Sosna_River entity:Konda_River entity:Matyra_River entity:Inya_River entity:Bely_Iyus_River entity:Chuya_River entity:Kiya_River entity:Kuta_River entity:Vyngapur_River entity:Kubr_River woeid:26354148 entity:Don_River_%28Russia%29 entity:Samara_River entity:Voronezh_River entity:Moksha_River entity:Om_River entity:Miass_River entity:Tara_River_%28Russia%29 entity:Bashkaus_River entity:Chulyshman_River entity:Sakmara_River entity:Podkumok_River entity:Sudost_River entity:Sunzha_River entity:Ustye_River entity:Valerik_River entity:Sudoma_River entity:Etoko_River entity:Etoka_River entity:Insar_River entity:Krasivaya_Mecha_River entity:Savala_River entity:Kargat_River entity:Usman_River entity:Gilyuy_River entity:Charysh_River entity:Ursul_River_%28Russia%29 entity:Bolshoy_Chembar_River
"""
	assert reformulated_x.replaceAll(/(?m)[\s\n]/,"") == refq.toString().replaceAll(/(?m)[\s\n]/,"") 
  } 
}
